package cn.stylefeng.guns.modular.scheduleInfo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 排班主表
 * </p>
 *
 * @author wp
 * @since 2025-03-04
 */
@Data
@TableName("schedule_info")
public class ScheduleInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 门店
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 排班日期
     */
    @TableField("plant_date")
    private String plantDate;

    /**
     * 周几
     */
    @TableField("week")
    private String week;

    /**
     * 天气
     */
    @TableField("weather")
    private String weather;

    /**
     * 同期营业
     */
    @TableField("same_period_business")
    private String samePeriodBusiness;

    /**
     * 制表人
     */
    @TableField("table_maker")
    private String tableMaker;

    /**
     * 预估营业额
     */
    @TableField("estimated_turnover")
    private String estimatedTurnover;

    /**
     * 实际营业额
     */
    @TableField("actual_revenue")
    private String actualRevenue;

    /**
     * 预估工时
     */
    @TableField("estimated_working_hours")
    private String estimatedWorkingHours;
    /**
     * 预估时间段
     */
    @TableField("estimated_time_frame")
    private String estimatedTimeFrame;

    /**
     * 实际工时
     */
    @TableField("actual_hour")
    private String actualHour;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;
    /**
     * 考勤时间
     */
    @TableField(exist = false)
    private Long attendanceActualHour;


}
